[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     system(LIST)

     system LIST

             Does exactly the same thing as  "exec  LIST"  except
             that  a  fork  is done first, and the parent process
             waits for the child process to complete.  Note  that
             argument  processing  varies depending on the number
             of arguments.  The return value is the  exit  status
             of  the  program as returned by the wait() call.  To
             get the actual exit value divide by 256.   See  also
             exec.

             On MS-DOS, this is implemented using the spawn  sys-
             tem call.

See Also: exec
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson